# encoding:utf-8

chr_list = []

for c in range(65, 75):
    chr_list.append([chr(c)+chr(x) for x in range(65, 75)])

with open('matrix10_10.csv', 'w') as f:
    for l in chr_list:
        f.write(','.join(l))
        f.write('\n')

#matrix to list
out_list = []

with open('matrix10_10.csv', 'r') as f:
    for i in f.readlines():
        out_list.append(list(i.replace('\n', '').split(',')))

print(out_list)

